<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<script type="text/javascript">
		var value = "";
		for (var i = 1900; i < 2016; i++) {
			if (i % 4 == 0 && i % 100 != 0) {
				value += i + ",";
			}
		}
		alert(value);
	</script>
</body>
</html>